package com.suarte.core.dao;

import com.suarte.core.Company;
import com.suarte.core.Contact;
import com.suarte.core.Quotation;
import com.suarte.core.QuotationDetail;
import com.suarte.core.QuotationStatus;
import java.util.Date;
import org.appfuse.dao.GenericDao;

import java.util.List;

/**
 * @date   Dec 20, 2010
 * @author Ggutierrez
 */
public interface QuotationDao extends GenericDao<Quotation, Long>  {

    public List<Quotation> findByDescription(String description);
    public void store(Quotation object);
    public Quotation get(Long id);
    public void deleteDetails(List<QuotationDetail> args);
    public List<Quotation> findQuotations(Long id, String description, Date date, Company company, Contact contact, QuotationStatus status);
}
